﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebFramework
{
    [AttributeUsage(AttributeTargets.Method, AllowMultiple=true)]
    public class UrlAttribute : Attribute
    {
        public readonly string Pattern;
        public readonly Priority Priority;

        public UrlAttribute(string pattern, Priority priority = Priority.Normal)
        {
            Pattern = pattern;
            Priority = priority;
        }
    }
}